using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Microsoft.Win32;

namespace eBirdAttend
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            if (Properties.Settings.Default["FIRSTTIME"].ToString() == "1")            
            {
                MessageBox.Show("This application is executing first time in this \r\n" +

                                "Machine. You need to setup Application parameters.\r\n" +

                                "If you are not having enough information at this   \r\n" +

                                "time, you Can start it from tray application", "Config");

                Properties.Settings.Default["FIRSTTIME"] = "2";

                Application.Run(new ConfigFrm());
            }
            Application.Run(new EBATMain());
         
            

        }
    }
}